animation on scroll css

77

svg {
  position: fixed; /* make sure it stays put so we can see it! */

  animation: rotate 1s linear infinite;
  /*animation-play-state: paused;*/
  animation-delay: calc(var(--scroll) * -1s);
}
<div data-aos="zoom-in-left"></div>

Comments

Submit
0 Comments